<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"      
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:sec="http://www.springframework.org/security/tags">
      
 
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>::: SIACOM :::</title>     
    </h:head>
    
    <h:body style="background-color: #ffffff; font-size: 12px">    
    	   
            <p:layout fullPage="true">
                <p:layoutUnit position="north" size="110" header="SIACOMP" style="font-weight:bold; font:42px Arial Black, sans-serif;"></p:layoutUnit>               
                  
                <p:layoutUnit position="center" size="500" >                	 
                	<div><ui:include src="menu.xhtml"></ui:include></div>                	                    
                
	                <div align="right" style="font-weight:bold; font:12px Arial Black, sans-serif;">	                	                	
        				<sec:authorize access="hasAnyRole('ROLE_ADMIN', 'ROLE_PROF', 'ROLE_ALU')" >
            				Logado como <h:outputText value="#{usuarioBean.usuarioAutenticado.login}" style="color: darkred" />
        				</sec:authorize>        				
	                </div>    
	                <div align="center">          
                		<ui:insert name="centro"></ui:insert>
                	</div>
                </p:layoutUnit>
                
                <p:layoutUnit position="south" size="40" header="Todos os direitos reservados"></p:layoutUnit>   
            </p:layout>  
       
    </h:body>
</html>